package com.hay.elasticsearch.repository;

import com.hay.elasticsearch.pojo.Item;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface ItemRepository extends ElasticsearchRepository<Item, Long> {
    List<Item> findByPriceBetween(double d1, double d2);
}
